package com.lxk.dao;

import com.lxk.pojo.StarMoment;
import com.lxk.pojo.StarMomentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StarMomentMapper {
    long countByExample(StarMomentExample example);

    int deleteByExample(StarMomentExample example);

    int deleteByPrimaryKey(Integer starMomentId);

    int insert(StarMoment record);

    int insertSelective(StarMoment record);

    List<StarMoment> selectByExample(StarMomentExample example);

    StarMoment selectByPrimaryKey(Integer starMomentId);

    int updateByExampleSelective(@Param("record") StarMoment record, @Param("example") StarMomentExample example);

    int updateByExample(@Param("record") StarMoment record, @Param("example") StarMomentExample example);

    int updateByPrimaryKeySelective(StarMoment record);

    int updateByPrimaryKey(StarMoment record);
}